#pragma once
#include "ui_ErrorDialog.h"
#include <QtWidgets/QDialog>
#include "utils/util.h"
#include <QtWidgets/QtWidgets>
class ErrorDlg : public QDialog
{
	Q_OBJECT
public:
	ErrorDlg(QWidget *parent = Q_NULLPTR);

	void setErrText(QString text);
	void setDisplayTime(int);
private slots:
	void onSureBtn();
signals:
	void Closed();
private:
	Ui::ErrDlg ui;
};
